Fixed negative allocations from gtk_box_size_allocate()
authorTristan Van Berkom <tristan.van.berkom@gmail.com>
Tue, 15 Jun 2010 18:27:12 +0000 (14:27 -0400)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Tue, 15 Jun 2010 18:27:12 +0000 (14:27 -0400)
commit1b2e9124f0bd7fde11e2b6faad6e75c38da1abe1
tree060aa96349e87cfb107bb8df794ba2c5c185cdef
parentb238c0124ae0ff49548a80f55a449eeb14fb7559
Fixed negative allocations from gtk_box_size_allocate()

Fixed the allocation loop to check if it was allocated at least
enough space to hold its visible children before going and distributing
extra space among children. Fixes bgo #617444.
gtk/gtkbox.c